package com.bstek.uflo.core.test.handler;

import com.bstek.uflo.model.ProcessInstance;
import com.bstek.uflo.model.task.Task;
import com.bstek.uflo.process.handler.ReminderHandler;
import org.springframework.stereotype.Component;

/**
 * @author Domi.shen
 * @version V1.0.0
 * @date 2020/9/25
 */
@Component
public class TaskReminderHandler implements ReminderHandler {

    @Override
    public void execute(ProcessInstance processInstance, Task task) {
        System.out.println(task.getAssignee() + "有任务待处理");
    }
}
